package com.prig.base.DTO.input;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "角色权限",description = "请求参数")
public class RolePermissionDto {
    @NotBlank
    @ApiModelProperty(value = "权限Id",required = true,example = "132123")
    private long permissionId;
    @NotBlank
    @ApiModelProperty(value = "角色Id",required = true,example = "132123")
    private long roleId;

    public long getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(long permissionId) {
        this.permissionId = permissionId;
    }

    public long getRoleId() {
        return roleId;
    }

    public void setRoleId(long roleId) {
        this.roleId = roleId;
    }
}
